package world

import "math/rand"

func NewRandomPassenger(availableShapes []StationType) *Passenger {
	return &Passenger{
		want: availableShapes[rand.Intn(len(availableShapes))],
	}
}

type Passenger struct {
	want StationType
}

func (p Passenger) Shape() StationType {
	return p.want
}
